package org.mock.sample.cars;

public class GearBox {
    
    private Gear currentGear = Gear.NEUTRAL;
    
    public void changeUp(){
    	System.out.println("Changing Gear Up... ");
        currentGear = currentGear.up();
    }

    public void changeDown(){
    	System.out.println("Changing Gear Down... ");
        currentGear = currentGear.down();
        
    }
    public Gear getCurrent(){
    	System.out.println("Retrieving the current gear state... ");
        return currentGear;
    }

}

